<!-- Start #header -->
<div id="header">
    <div class="container-fluid">
        <div class="navbar">
            <div class="navbar-header">

                <button type="button" class="navbar-toggle" data-toggle="collapse"
                        data-target="#sidebar">
                    <span>左侧导航</span>
                </button>
                <button type="button" class="navbar-toggle" data-toggle="collapse"
                        data-target="#navbar-collapse">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand col-xs-6" href="/index">
                    <img src="{{asset('image/logo1.png')}}" width="150px" height="60px" style="margin-top:10px ; margin-left: 30px;" />
                </a>
            </div>
            <nav class="top-nav collapse navbar-collapse " role="navigation" id="navbar-collapse">
                <ul class="nav navbar-nav pull-right col-md-10 col-sm-8">
                    <li id="toggle-sidebar-li" class="{{$header_active == 'index' ? 'on': ''}} pull-left">
                        <a href="/index" id="toggle-sidebar">首页</a>
                    </li>
                    <li id="toggle-sidebar-li" class="{{$header_active == 'settle' ? 'on': ''}} pull-left">
                        <a href="/remit/topayList" id="toggle-sidebar">结算管理</a>
                    </li>
                    <li id="toggle-sidebar-li" class="{{$header_active == 'apidoc' ? 'on': ''}} pull-left">
                        <a href="#" id="toggle-sidebar"  data-toggle="modal" data-target="#djWordDown">对接文档下载</a>
                    </li>
                    <li id="toggle-sidebar-li" class="{{$header_active == 'member' ? 'on': ''}} pull-left">
                        <a href="/member/info" id="toggle-sidebar">个人信息</a>
                    </li>
                    <li id="toggle-sidebar-li" class="{{$header_active == 'channel' ? 'on': ''}} pull-left">
                        <a href="/member/paychanle" id="toggle-sidebar">开通通道</a>
                    </li>
                    <li class="pull-right yhy_User">
                        <i class="m-zhxx "></i>
                    </li>
                </ul>
                <div class="yhy-card-nav y-dp-n" y-card="card">
                    <p>{{$user->username}}</p>
                    @if($user->profile->status == 0)
                    <button class="btn btn-info">待审核</button>
                    @elseif ($user->profile->status == 1)
                    <button class="btn btn-success">已认证</button>
                    @else
                    <button class="btn btn-danger">审核拒绝</button>
                    @endif()
                        <div class="">
                        <a href="/member/info">我的账户</a>丨<a href="javascript:;" onclick="loginOut()">退出</a>
                    </div>
                </div>
            </nav>
        </div>
    </div>
    <!-- Start .header-inner -->
</div>
